
const routes = [
  {
    path: '/',
    component: () => import('layouts/MainLayout.vue'),
    children: [
      { path: '', component: () => import('pages/Home/index') },
      { path: '/picture-wall', component: () => import('pages/Wall/index') },
      { path: 'board', component: () => import('pages/Board/index') }
    ]
  },
  {
    path: '/login',
    component: () => import('pages/Login')
  },

  // Always leave this as last one,
  // but you can also remove it
  {
    path: '*',
    component: () => import('pages/Error404.vue')
  }
]

export default routes
